﻿using System;

namespace StructTypeApply
{
    public struct Coords
    {
        public Coords(double x, double y)
        {
            X = x;
            Y = y;
        }
        public double X { get; }
        public double Y { get; }
        public override string ToString() => $"({X}, {Y})";
    }

    class Program
    {
        static void Main(string[] args)
        {
            Coords c = new Coords(100, 200);
            Console.WriteLine(c.ToString());
        }
    }
}
